package com.dragon.pear.model.params.create;

import java.sql.Timestamp;

/**
 * @author Chris Chan
 * Create on 2025-02-17 21:08
 * Use for: 账号 创建请求参数
 * Explain:
 */
public class UaaAccountCreateParam {
    //ID
	private long id;
    //账号编码 雪花算法
	private Long code;
    //用户名
	private String username;
    //手机号码
	private String cellPhone;
    //密码 加盐加密存储 只能重置 不能找回
	private String password;
    //注册时间
	private Timestamp regTime;
    //身份证号码
	private String idCardCode;
    //激活码 null表示已激活
	private String activationCode;
    //账号状态 0. 正常 1. 锁定
	private int status = 1;

	//ID
	public long getId() {
		return id;
	}

    public void setId(long id) {
		this.id = id;
	}

	//账号编码 雪花算法
	public Long getCode() {
		return code;
	}

    public void setCode(Long code) {
		this.code = code;
	}

	//用户名
	public String getUsername() {
		return username;
	}

    public void setUsername(String username) {
		this.username = username;
	}

	//手机号码
	public String getCellPhone() {
		return cellPhone;
	}

    public void setCellPhone(String cellPhone) {
		this.cellPhone = cellPhone;
	}

	//密码 加盐加密存储 只能重置 不能找回
	public String getPassword() {
		return password;
	}

    public void setPassword(String password) {
		this.password = password;
	}

	//注册时间
	public Timestamp getRegTime() {
		return regTime;
	}

    public void setRegTime(Timestamp regTime) {
		this.regTime = regTime;
	}

	//身份证号码
	public String getIdCardCode() {
		return idCardCode;
	}

    public void setIdCardCode(String idCardCode) {
		this.idCardCode = idCardCode;
	}

	//激活码 null表示已激活
	public String getActivationCode() {
		return activationCode;
	}

    public void setActivationCode(String activationCode) {
		this.activationCode = activationCode;
	}

	//账号状态 0. 正常 1. 锁定
	public int getStatus() {
		return status;
	}

    public void setStatus(int status) {
		this.status = status;
	}


}
